package cn.hengzhu.main_manager.repository.domain;

import java.io.Serializable;
import java.util.Date;

public class ManagePermission implements Serializable {
    /**
     * 自增主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 权限名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 资源地址
     *
     * @mbg.generated
     */
    private String resource;

    /**
     * 描述
     *
     * @mbg.generated
     */
    private String sn;

    private Integer menuId;

    /**
     * 是否显示（0.不显示   1.显示    默认值为1）
     *
     * @mbg.generated
     */
    private Byte isShow;

    /**
     * 排序第几
     *
     * @mbg.generated
     */
    private Integer rank;

    private Integer parentId;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
     *
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     *
     * @mbg.generated
     */
    public String getResource() {
        return resource;
    }

    /**
     *
     * @mbg.generated
     */
    public void setResource(String resource) {
        this.resource = resource;
    }

    /**
     *
     * @mbg.generated
     */
    public String getSn() {
        return sn;
    }

    /**
     *
     * @mbg.generated
     */
    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getMenuId() {
        return menuId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getIsShow() {
        return isShow;
    }

    /**
     *
     * @mbg.generated
     */
    public void setIsShow(Byte isShow) {
        this.isShow = isShow;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getRank() {
        return rank;
    }

    /**
     *
     * @mbg.generated
     */
    public void setRank(Integer rank) {
        this.rank = rank;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}